package com.coolapk.mapper;

import com.coolapk.entity.Thumbs;
import com.coolapk.entity.ThumbsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ThumbsMapper {
    long countByExample(ThumbsExample example);

    int deleteByExample(ThumbsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Thumbs record);

    int insertSelective(Thumbs record);

    List<Thumbs> selectByExample(ThumbsExample example);

    Thumbs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Thumbs record, @Param("example") ThumbsExample example);

    int updateByExample(@Param("record") Thumbs record, @Param("example") ThumbsExample example);

    int updateByPrimaryKeySelective(Thumbs record);

    int updateByPrimaryKey(Thumbs record);
}